﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CXMLStudioIDE.Common.Entities
{
    public class EntityType : Entity
    {
        #region Declarations

        private int _EntityTypeID;
        private string _FullPath;
        private int _DisplaySequence;
        private int _EntityTypeContextID;
        private string _EntityTypeContextName;
        private string _EntityTypeName;
        private bool _IsBusinessEntity;

        #endregion

        #region Constructors
        public EntityType(string inEntityTypeName,int inEntityTypeContext,bool inIsBE)
        {
            this._EntityTypeName = inEntityTypeName;
            this._EntityTypeContextID = inEntityTypeContext;
            this._IsBusinessEntity = inIsBE;
        }
        public EntityType()
        { 
        }
        #endregion
        
        #region Public Properties
        public string EntityTypeName
        {
            get { return _EntityTypeName; }
            set { _EntityTypeName = value; }
        }
        public int EntityTypeID
        {
            get { return _EntityTypeID; }
            set { _EntityTypeID = value; }
        }
        public bool IsBusinessEntity
        {
            get { return _IsBusinessEntity; }
            set { _IsBusinessEntity = value; }
        }

        public int EntityTypeContextID
        {
            get { return _EntityTypeContextID; }
            set { _EntityTypeContextID = value; }
        }

        public string EntityTypeContextName
        {
            get { return _EntityTypeContextName; }
            set { _EntityTypeContextName = value; }
        }
        public string FullPath
        {
            get { return _FullPath; }
            set { _FullPath = value; }
        }

        public int DisplaySequence
        {
            get { return _DisplaySequence; }
            set { _DisplaySequence = value; }
        }

        #endregion
    }
}
